#include <stdio.h>

struct student
{
	char sno[8];
	char name[20];
	char sex;
	int age;
	double score[3];
};

int main(void)
{
	struct student s1, s2;
	int i;

	printf("Input the student's information: ");
	scanf("%s%s%c%d", s1.sno, s1.name, &s1.sex, &s1.age);
	for (i = 0; i < 3; i++)
		scanf("%lf", &s1.score[i]);
	s2 = s1;
	printf("sno: %s\n", s2.sno);
	printf("name: %s\n", s2.name);
	printf("sex: %c\n", s2.sex);
	printf("age: %d\n", s2.age);
	printf("score:");
	for (i = 0; i < 3; i++)
		printf("%6.1f", s2.score[i]);
	printf("\n");

	return 0;
}